package com.thoughtworks.biblioteca.dao.mock;

import com.thoughtworks.biblioteca.dao.MovieDao;
import com.thoughtworks.biblioteca.model.Movie;

import java.util.List;
import java.util.ArrayList;

/**
 * Created by IntelliJ IDEA.
 * User: zyyu
 * Date: Aug 16, 2009
 * Time: 12:50:56 AM
 * To change this template use File | Settings | File Templates.
 */
public class MovieMockDao implements MovieDao {
    public List<Movie> getAllMovies() {
        List<Movie> movies = new ArrayList<Movie>();

        movies.add(new Movie(1, "Sweet Valley High vol. 4", "John Travolta", "10"));
        movies.add(new Movie(2, "eXtreme Programming Explained", "Kent Beck", "9"));

        return movies;

    }
}
